package com.mp3.player.events
{
	import com.mp3.player.vos.Track;
	
	import flash.events.Event;
	
	public class TrackEvent extends Event
	{
		public static const PLAY: String = "play";
		
		public static const FINISH: String = "finish";
		
		public static const INFO_CHANGED: String = "infoChanged";
		
		public var track: Track;
		
		public function TrackEvent(type:String, track: Track = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.track = track;
		}
	}
}